package com.aimei.worker.moduel.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

/**
 * @author xiah
 * date: 2018/4/26
 */

@Data
@TableName(value = "t_teacher")
public class Teacher {

       @TableId(type = IdType.AUTO)
       private Long id;

       @TableField
       private String name;
       @TableField
       private Integer age;
}
